package com.vegetable.modules.service.baseData;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vegetable.modules.entity.baseData.UnitPackagePriceRecord;

import java.math.BigDecimal;

public interface IUnitPackagePriceRecordService extends IService<UnitPackagePriceRecord> {

    BigDecimal queryUnitPackagePrice(Long commodityId, Long specsId, Long customerId);

    void recordUnitPackagePrice(Long commodityId, Long specsId, BigDecimal packageUnitPrice, Long customerId);
}
